*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  height: 100vh;
  font-size: 0.28rem;
  color: #333;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
}

a {
  text-decoration: none !important;
  cursor: pointer;
  outline: none;
  hide-focus: expression(this.hideFocus=true);
}

a,
button,
input,
html {
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

li {
  list-style: none;
  vertical-align: top;
}

img {
  border: 0 none;
  vertical-align: top;
}

input,
textarea {
  border: 0;
  background: none;
  outline: none;
  border-color: #d9d9d9 !important;
  &::-webkit-input-placeholder {
    color: #ccc;
  }
  &:focus {
    border-color: #40a9ff !important;
    border-right-width: 1px !important;
    outline: 0;
    -webkit-box-shadow: 0 0 0 1px rgba(24, 144, 255, .2);
    box-shadow: 0 0 0 1px rgba(24, 144, 255, .2);
  }
}

.container {
  flex: 1;
  width: 100%;
  height: 100%;
  margin-top: 20px;
  background-color: #fff;
}

.u_transition_300 {
  transition: 0.3s all ease-in-out;
}

.u_transition_500 {
  transition: 0.5s all ease-in-out;
}

.g-clear {
  zoom: 1;
}

.g-clear:after {
  content: ' ';
  clear: both;
  display: block;
}

.g-overflow-hidden {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.g-c-center {
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.g-r-center {
  display: flex;
  display: -webkit-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
}
